.class Les/dz$g;
.super Ljava/lang/Object;
.source "MusicEditMenuProvider.java"

# interfaces
.implements Landroid/view/MenuItem$OnMenuItemClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/dz;->d()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Les/dz;


# direct methods
.method constructor <init>(Les/dz;)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/dz$g;->a:Les/dz;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onMenuItemClick(Landroid/view/MenuItem;)Z
    .locals 7

    .line 1
    iget-object p1, p0, Les/dz$g;->a:Les/dz;

    invoke-static {p1}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->T()Ljava/util/List;

    move-result-object p1

    .line 2
    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-lez v0, :cond_0

    const/4 v0, 0x0

    .line 3
    invoke-interface {p1, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Les/so;

    const/4 v2, 0x3

    new-array v2, v2, [Ljava/lang/String;

    .line 4
    iget-object v3, p0, Les/dz$g;->a:Les/dz;

    invoke-static {v3}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v3

    const v4, 0x7f110654

    invoke-virtual {v3, v4}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v0

    .line 5
    iget-object v3, p0, Les/dz$g;->a:Les/dz;

    invoke-static {v3}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v3

    const v5, 0x7f110653

    invoke-virtual {v3, v5}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    aput-object v3, v2, v1

    const/4 v3, 0x2

    .line 6
    iget-object v5, p0, Les/dz$g;->a:Les/dz;

    invoke-static {v5}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v5

    const v6, 0x7f110652

    invoke-virtual {v5, v6}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v2, v3

    .line 7
    new-instance v3, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object v5, p0, Les/dz$g;->a:Les/dz;

    invoke-static {v5}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object v5

    invoke-direct {v3, v5}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    invoke-virtual {v3, v4}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const/4 v4, -0x1

    new-instance v5, Les/dz$g$a;

    invoke-direct {v5, p0, p1}, Les/dz$g$a;-><init>(Les/dz$g;Les/so;)V

    .line 8
    invoke-virtual {v3, v2, v4, v5}, Lcom/estrongs/android/ui/dialog/q$n;->a([Ljava/lang/CharSequence;ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 9
    invoke-virtual {v3, v0}, Lcom/estrongs/android/ui/dialog/q$n;->d(Z)Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {v3}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    .line 10
    :cond_0
    iget-object p1, p0, Les/dz$g;->a:Les/dz;

    invoke-static {p1}, Les/dz;->a(Les/dz;)Lcom/estrongs/android/pop/app/PopAudioPlayer;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/PopAudioPlayer;->N()V

    return v1
.end method
